package com.ktwlsoft.fundmanage.mapper.pictureconfig;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import com.ktwlsoft.fundmanage.domain.entity.pictureconfig.SignCredential;

/**
 * 要件
 *
 * @author zhuhe on 2019-10-08 14:13:23
 * @version 1.0
 */
@Mapper
public interface ISignCredentialMapper {
	
	/**
	 * 查询列表 on 2019-10-08 14:13:23
	 * @param signCredential signCredential
	 * @return List<SignCredential>
	 */
	List<SignCredential> findList(SignCredential signCredential);
	
	
	/**
	 * 根据id查询信息 on 2019-10-08 14:13:23
	 * @param credentialId credentialId
	 * @return SignCredential
	 */
	SignCredential getById(String credentialId);
	
	
	/**
	 * 根据id删除信息 on 2019-10-08 14:13:23
	 * @param credentialId credentialId
	 * @return int
	 */
	int deleteById(String credentialId);

	/**
	  * 根据busiId删除信息 on 2019/10/9 11:50
	  *
	  * @param busiId busiId
	  * @return int
	  */
	int deleteByBusiId(String busiId);

	/**
	 * 根据id集合批量删除信息 on 2019-10-08 14:13:23
	 * @param ids ids
	 * @return int
	 */
	int deleteByIds(List<String> ids);
	


	/**
	 * 插入 on 2019-10-08 14:13:23
	 * @param signCredential signCredential
	 * @return int
	 */
    int insert(SignCredential signCredential);

	/**
	 * 多条新增 on 2019-03-18 11:27:53
	 * @param credential credential
	 * @return int
	 */
	int inserts(List<SignCredential> credential);

	/**
	 * 更新 on 2019-10-08 14:13:23
	 * @param signCredential signCredential
	 * @return int
	 */
    int update(SignCredential signCredential);
}
